Skip to content

refactor: split app-log backend into process/stream/platform modules - #174

Merged
thymikee merged 1 commit into
mainfrom
claude/mystifying-mayer
Mar 3, 2026
Merged

thymikee merged 1 commit into
mainfrom
claude/mystifying-mayer

Conversation

@thymikee

@thymikee thymikee commented Mar 3, 2026

Copy link
Copy Markdown
Member

Closes #161

Summary

  • app-log-process.ts — StoredAppLogProcessMeta, pid file parse/write/cleanup, stale process detection, cleanupStaleAppLogProcesses, AppLogResult type (~96 LOC)
  • app-log-stream.ts — redactChunk, createLineWriter, attachChildToStream, waitForChildExit, sleep (~82 LOC)
  • app-log-ios.ts — buildIosLogPredicate, buildIosDeviceLogStreamArgs, startIosSimulatorAppLog, startIosDeviceAppLog (~85 LOC)
  • app-log-android.ts — assertAndroidPackageArgSafe, resolveAndroidPid, startAndroidAppLog (~87 LOC)
  • app-log.ts kept as orchestrator/public API with stable re-exports (~195 LOC)

Test plan

  • pnpm typecheck passes
  • pnpm test:unit passes (518/518)
  • pnpm test:smoke

🤖 Generated with Claude Code

…161)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Mar 3, 2026 •

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-03-03 17:46 UTC

@thymikee
thymikee merged commit 5f941c1 into main Mar 3, 2026
5 of 6 checks passed
@thymikee
thymikee deleted the claude/mystifying-mayer branch March 3, 2026 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor app-log backend into process/stream/platform modules

1 participant